package com.fs.controller.vo.user;

import com.fs.service.bo.user.BoUserInfo;
import lombok.*;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class RespUser {
    private Integer id;
    private String name;
    private String loginName;

    public RespUser(BoUserInfo user){
        id=user.getId();
        name=user.getName();
        loginName=user.getLoginName();
    }
}
